package snapex.feeclouds.utils;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class AppUitls {

    public static String randomStr(int size) {
        String a = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
        char[] rands = new char[size];
        for (int i = 0; i < rands.length; i++) {
            int rand = (int) (Math.random() * a.length());
            rands[i] = a.charAt(rand);
        }
        return new String(rands);
    }


}
